package showtime.framework.component.loading
{
	import showtime.framework.events.BaseEvent;

	/**
	 * @project Client
	 * @date 2011-7-18
	 * @author 绿豆蛙
	 * 
	 */
	public class GroupLoaderEvent extends BaseEvent
	{
		public static const PROGRESS:String = "PROGRESS";

		public static const COMPLETE:String = "COMPLETE";
		
		public var fileLoaded:int = 0;
		
		public var fileTotal:int = 0;
		
		public var bytesLoaded:int = 0;
		
		public var bytesTotal:int = 0;
		
		public var fileName:String = null;
		
		public function GroupLoaderEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, bytesLoaded:int = 0, bytesTotal:int = 0, fileLoaded:int = 0, fileTotal:int = 0, fileName:String = null)
		{
			super(type, null, bubbles, cancelable);
			
			this.fileLoaded = fileLoaded;
			
			this.fileTotal = fileTotal;
			
			this.bytesLoaded = bytesLoaded;
			
			this.bytesTotal = bytesTotal;
			
			this.fileName = fileName;

		}
	}
}